﻿namespace TianYu.Core.Common.NPOI
{
    public class TableParams
    {
        public TableParams(string tableHeadName)
        {
            TableHeadName = tableHeadName;
        }
        public TableParams(string tableHeadName, int cellWidth)
        {
            TableHeadName = tableHeadName;
            CellWidth = cellWidth;
        }

        private int _cellWidth = 10 * 256;

        public string TableHeadName { get; set; }
        public int CellWidth { get { return _cellWidth; } set { _cellWidth = value * 256; } }
        public string[] CellDropDownData { get; set; }
    }
}
